package com.kai.admin.enums;

import com.kai.common.exception.ErrorCode;
import com.kai.common.exception.ErrorCodeConstants;

/**
 * <p>
 * admin 模块错误码枚举
 * </p>
 *
 * @author weijk
 * @since 2023/7/16
 */
public interface AdminErrorCodeConstants extends ErrorCodeConstants {

    ErrorCode LOGIN_FAILURE = new ErrorCode(11000, "登录失败");
    ErrorCode USERNAME_OR_PASSWORD_IS_NULL = new ErrorCode(11001, "用户名或密码为空");

    ErrorCode CAPTCHA_MISSING = new ErrorCode(11100, "验证码缺失");
    ErrorCode INVALID_CAPTCHA = new ErrorCode(11101, "验证码无效");
}
